package com.zhongwang.business.gen.entity;

import java.math.BigDecimal;

public class CosCarriageDetail {
    private Integer id;

    private Integer cosSheetId;

    private String origin;

    private String destination;

    private BigDecimal weight;

    private BigDecimal vehicle;

    private BigDecimal distance;

    private BigDecimal carriage;

    private String unit;

    public CosCarriageDetail(Integer id, Integer cosSheetId, String origin, String destination, BigDecimal weight, BigDecimal vehicle, BigDecimal distance, BigDecimal carriage, String unit) {
        this.id = id;
        this.cosSheetId = cosSheetId;
        this.origin = origin;
        this.destination = destination;
        this.weight = weight;
        this.vehicle = vehicle;
        this.distance = distance;
        this.carriage = carriage;
        this.unit = unit;
    }

    public CosCarriageDetail() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCosSheetId() {
        return cosSheetId;
    }

    public void setCosSheetId(Integer cosSheetId) {
        this.cosSheetId = cosSheetId;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin == null ? null : origin.trim();
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination == null ? null : destination.trim();
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getVehicle() {
        return vehicle;
    }

    public void setVehicle(BigDecimal vehicle) {
        this.vehicle = vehicle;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }

    public BigDecimal getCarriage() {
        return carriage;
    }

    public void setCarriage(BigDecimal carriage) {
        this.carriage = carriage;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }
}